page {
    background: #fff;
}

.header-top {
    width: 100%;
    height: 400rpx;

    display: flex;
    flex-direction: column;
    align-items: center;
    // justify-content: center;

    .canusescore {
        margin-top: 30rpx;
        font-size: 28rpx;
        color: #333333;
        display: flex;
        align-items: center;

        .remaining {
            font-size: 48rpx;
            color: #333333;
        }
    }

    .checkin {
        width: 280rpx;
        height: 90rpx;
        background: url(https://ruiyuanhui.3todo.com/uploads/img/checkin_bg.png) no-repeat;
        background-size: 280rpx 90rpx;
        border-radius: 47rpx;
        position: relative;
        color: #ff0827;
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 20rpx 0 44rpx 0;

        .checkined {
            font-size: 24rpx;
        }

        .days {
            font-size: 30rpx;
            height: 40rpx;

        }
    }

    .schedule {
        width: 560rpx;
        justify-content: space-between;
        position: relative;
        display: flex;

        &::before {
            width: 510rpx;
            position: absolute;
            top: 18rpx;
            bottom: 0;
            right: 0;
            left: 0;
            margin: 0 auto;
            height: 8rpx;
            background: #666666;
            content: "";
        }

        .schedules {
            flex: 1;
            // width: 83rpx;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;

            .schedules-img {
                width: 40rpx;
                height: 40rpx;

                // border: 2rpx solid;
                border-radius: 50%;
                background: url(https://ruiyuanhui.3todo.com/uploads/img/checkined.png) no-repeat;
                background-size: 40rpx 40rpx;
            }

            .schedules-uncheckin {
                width: 40rpx;
                height: 40rpx;
                font-size: 24rpx;
                line-height: 24rpx;
                // font-weight:bold;
                color: #ffffff;
                background: linear-gradient(180deg, rgba(102, 102, 102, 1) 0%, rgba(68, 68, 68, 1) 100%);
                background-size: 40rpx 40rpx;
                // border:4rpx solid rgba(3,128,123,1);
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .schedules-title {
                font-size: 28rpx;
                height: 40rpx;
                line-height: 28rpx;
                display: flex;
                align-items: center;
                color: #444444;
                text-align: center;
            }
        }
    }
}

.recommend-good {
    padding: 10rpx 30rpx 10rpx 30rpx;
    box-sizing: border-box;

    .title {
        height: 90rpx;
        display: flex;
        align-items: center;
        justify-content: center;

        view {
            &:nth-of-type(1) {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
                margin-right: 26rpx;
            }

            &:nth-of-type(2) {
                font-size: 30rpx;
                font-weight: bold;
                color: #333333;
                margin-right: 24rpx;
                line-height: 30rpx;
            }

            &:last-child {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
            }
        }

        image {
            margin-right: 10rpx;
            width: 34rpx;
            height: 32rpx;
        }
    }

    .no-have-exchange {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 32rpx;
        color: rgba(102, 102, 102, 1);
        width: 100%;
        margin: 50rpx 0;

        .no-have-data {
            width: 320rpx;
            height: 200rpx;
            margin-bottom: 20rpx;
        }
    }

    .recommend-goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .goods-item {
            width: 336rpx;
            // height: 530rpx;
            margin-bottom: 20rpx;

            image {
                border: 2rpx solid #dbdbdb;
                border-radius: 12rpx 12rpx 0px 0px;
                
                display: flex;
                width: 99%;
                height: 320rpx;
                border-radius: 12rpx 12rpx 0px 0px;
            }

            .goods-info {
                width: 100%;
                height: 241rpx;
                background: #ffffff;
                border-radius: 0px 0px 12rpx 12rpx;
                padding: 20rpx 22rpx;
                box-sizing: border-box;
                border: 2rpx solid rgba(219, 219, 219, 1);

                .goods-title {
                    font-size: 30rpx;
                    color: #666666;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    height: 80rpx;
                }

                .integral {
                    // height: 90rpx;
                    margin-top: 10rpx;

                    .num {
                        font-size: 30rpx;
                        color: #fb3319;
                        flex: 1;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        word-break: break-all;
                    }

                    .exchange {
                        width: 136rpx;
                        height: 44rpx;
                        background: linear-gradient(224deg, rgba(102, 102, 102, 1) 0%, rgba(68, 68, 68, 1) 100%);
                        border-radius: 0px 20rpx 0px 20rpx;
                        font-size: 28rpx;
                        color: #FFC875;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: auto;
                        margin-top: 20rpx;
                    }
                }
            }
        }

    }
}

.lookmoregoods {
    margin: 0 auto 54rpx auto;
    width: 282rpx;
    height: 64rpx;
    border-radius: 33rpx;
    border: 2rpx solid #999999;
    font-size: 30rpx;
    color: #666666;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news {

    padding: 10rpx 0;
    box-sizing: border-box;


    .title {
        padding: 0 30rpx;
        box-sizing: border-box;
        height: 90rpx;
        display: flex;
        align-items: center;
        font-size: 28rpx;
        font-weight: bold;
        color: #ffffff;
        justify-content: space-between;
        view {
            display: flex;
            align-items: center;
            &:nth-of-type(2) {
                color: #FFCE8C;
                margin-left: 10rpx;
            }
        }

        .orange-bg {
            padding: 3rpx 10rpx;
            box-sizing: border-box;
            background: #666;
            border-radius: 0px 16rpx 0px 16rpx;

        }
        .more-news{
            display: flex;
            justify-content: center;
            color: rgb(102, 102, 102) !important;
           
            height: 60rpx;
            border-radius: 40rpx;
            font-weight: normal;
        }
    }

    .no-have-exchange {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 32rpx;
        color: rgba(102, 102, 102, 1);
        width: 100%;
        margin: 50rpx 0;

        .no-have-data {
            width: 320rpx;
            height: 200rpx;
            margin-bottom: 20rpx;
        }
    }

    .swipercontent {
        position: relative;

        .dots {
            position: absolute;
            // left: 0;
            right: 58rpx;
            bottom: 88rpx;
            display: flex;
            justify-content: center;
        }

        .dot {
            margin: 0 8rpx;
            width: 18rpx;
            height: 18rpx;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            transition: all .6s;
        }

        .dot.active {
            width: 18rpx;
            background: #fff;
        }

        .news-list {
            width: 100%;
            white-space: nowrap;
            display: flex;
            padding: 0 30rpx;
            box-sizing: border-box;
            height: 372rpx;

            .news-item:last-child {
                margin-right: 30rpx;
            }

            .news-item {
                // width: 490rpx;
                display: inline-block;
                height: 372rpx;
                background: linear-gradient(261deg, rgba(253, 239, 213, 1) 0%, rgba(249, 218, 172, 1) 100%);

                .news-img {
                    width: 100%;
                    height: 300rpx;
                    object-fit: cover;
                    border-radius: 8rpx;
                    display: block;
                }

                .news-title {
                    height: 72rpx;
                    padding: 0 30rpx;
                    box-sizing: border-box;
                    font-size: 28rpx;
                    color: #333333;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    // display: -webkit-box;
                    -webkit-line-clamp: 1;
                    line-height: 72rpx;

                }
            }
        }
    }

}
.jinyong{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    color: #fff;
    z-index: 99;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50rpx;
    box-sizing: border-box;
    flex-direction: column;
}
.no-have-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
    margin-top: 212rpx;
    margin-bottom: 100rpx;
    .no-have-data {
        width: 320rpx;
        height: 200rpx;
        margin-bottom: 50rpx;
    }
}